import request from '@/utils/request'

export function getList(data){
   return request({
    url:'http://localhost:8080/Scheduling/getList',
    method:'get',
    params:data
   })
}

export function getRuleDoc(data){
   return request({
      url:'http://localhost:8080/Scheduling/getRuleDoc',
      method:'get',
      params:data
   })
}

export function editSchedul(data){
  console.log(data)
   return request({
      url:'http://localhost:8080/Scheduling/editSchedul',
      method:'post',
      contentType: "application/json;charset=utf-8",
      data:data
   })
}
